Paging = {	
	pagingEvents: {
		click: function(ev) {
			if ($(ev.target).hasClass("disabled")) {
				return false;
			}
			var currField = $(ev.target).closest(".fieldset.pageBreak");
			var fields = $("#form_canvas_view .fieldset.pageBreak");
			var index = fields.index(currField);
			var targetIndex;
			if($(ev.target).hasClass("hasPrevious")) {
				targetIndex = index - 1;
			} else if ($(ev.target).hasClass("hasNext"))  {
				targetIndex = index + 1;
			}
			fields[targetIndex].scrollIntoView(true);
	        return false;
	    }
	}
};